/**
 * Created by Administrator on 2015/12/29.
 */
angular.module('custlist.service', [])
  .service('custlistService', ['$http', 'appItfAopService', function ($http, appItfAopService) {

      var params = {
          "Depart_Code": "-1", 
          "User_ID": "-1",
          "Phone": "-1",
          "Task_ID": "-1",
          "top": "10",
          "order": "IN_Date desc", 
          "page": 1,
          "showcount": 1,
          "fields": "*",
          "seldatetype": "2",
          "selstate": "count",
          "Cust_Phone": ""
    }
      return {
          getParams: function () {
              return params;
          }, 
          get_custcustlist: function (params) {
              return appItfAopService.do_get_custcustlist_req(params)
          },
          get_uptaskcustcallstate: function (params) {
              return appItfAopService.do_get_uptaskcustcallstate_req(params)
          }
      }

  }]);
